package com.example.dsplatform.pojo.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString

@TableName("Student")
@ApiModel(value = "User", description = "学生实体")

public class Student {
    //学生ID
    @TableId(value = "SNO", type = IdType.AUTO)
    @ApiModelProperty(value = "学号", dataType = "String")
    private Integer id;
    //学生姓名
    @TableField(value = "SNAME")
    @ApiModelProperty(value = "姓名", dataType = "String")
    private String name;
    //年龄
    @TableField(value = "SAGE")
    @ApiModelProperty(value = "年龄", dataType = "String")
    private Integer age;
    //性别
    @TableField(value = "SSEX")
    @ApiModelProperty(value = "性别", dataType = "Integer")
    private String sex;
    //系
    @TableField(value = "SDEPT")
    @ApiModelProperty(value = "所在系名", dataType = "String")
    private String sdept;
    //所在学院ID
    @TableField(value = "COLLEGE_ID")
    @ApiModelProperty(value = "所在学院ID", dataType = "String")
    private String college_id;
    //所在班级ID
    @TableField(value = "CLASS_ID")
    @ApiModelProperty(value = "所在班级ID", dataType = "String")
    private String class_id;
    //身份证号
    @TableField(value = "ID_CARD")
    @ApiModelProperty(value = "身份证号", dataType = "String")
    private String id_card;
    //手机号
    @TableField(value = "PHONE")
    @ApiModelProperty(value = "手机号", dataType = "String")
    private String phone;
    //出生日期
    @TableField(value = "BIRTH")
    @ApiModelProperty(value = "出生日期", dataType = "String")
    private Date birth;
    //身高
    @TableField(value = "HEIGHT")
    @ApiModelProperty(value = "身高", dataType = "String")
    private Integer height;
    //体重
    @TableField(value = "WEIGTH")
    @ApiModelProperty(value = "体重", dataType = "String")
    private Integer weigth;
    //是否符合绿色通道
    @TableField(value = "SPE_PAY")
    @ApiModelProperty(value = "是否符合绿色通道", dataType = "String")
    private String spe_pay;
    //宿舍号
    @TableField(value = "DORM_ID")
    @ApiModelProperty(value = "是否符合绿色通道", dataType = "String")
    private Integer dorm_id;
    //民族
    @TableField(value = "NATION")
    private String nation;
    //政治面貌
    @TableField(value = "POLITICAL")
    private String political;
    //籍贯（省）
    @TableField(value = "DOMICLIE_PLACE_PROVINCE")
    private String domiclie_place_province;
    //籍贯（市）
    @TableField(value = "DOMICLIE_PLACE_CITY")
    private String domiclie_place_city;
    //户籍地址
    @TableField(value = "DOMiCLIE_PLACE_ADDRESS")
    private String domiclie_place_address;
    //爱好
    @TableField(value = "HOBBY")
    private String hobby;
    //简要介绍
    @TableField(value = "INTRO")
    private String intro;
    //电子邮件
    @TableField(value = "EMAIL")
    private String email;
    //入学日期
    @TableField(value = "ENTRY_DATE")
    private Date entry_date;
    //状态
    @TableField(value = "STATUS")
    private String status;
    //租户号
    @TableField(value = "TENANT_ID")
    private String tenant_id;
    //乐观锁
    @TableField(value = "REVISION")
    private Integer revision;
    //创建人
    @TableField(value = "CREATED_BY")
    private String created_by;
    //创建时间
    @TableField(value = "CREATED_TIME")
    private Date created_time;
    //更新人
    @TableField(value = "UPDATE_BY")
    private String update_by;
    //更新时间
    @TableField(value = "UPDATE_TIME")
    private Date update_time;
}
